package com.dunka.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

/**
 * @Author Dunka
 * @Description 菜单
 * @Date 12:16   2019/7/25
 * @ClassName Menu
 */
@Alias("menu")
@ApiModel("菜单实体")
public class Menu {
    @ApiModelProperty("菜单id")
    private int id;
    @ApiModelProperty("菜单图标名称")
    private String logo_type;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("菜单位置排序")
    private int sort;
    @ApiModelProperty("菜单资源路径")
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLogo_type() {
        return logo_type;
    }

    public void setLogo_type(String logo_type) {
        this.logo_type = logo_type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", logo_type=" + logo_type +
                ", name='" + name + '\'' +
                ", sort=" + sort +
                ", url='" + url + '\'' +
                '}';
    }
}
